Repository navigation
chore(deps): update module github.com/stretchr/objx to v0.7.0 - #147
Merged
Merged
Conversation
renovate
Bot
requested review from
dfangl,
dominikschubert,
joe4dev,
nik-localstack and
pinzon
as code owners
October 16, 2026 11:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.5.3→v0.7.0Release Notes
stretchr/objx (github.com/stretchr/objx)
v0.7.0Compare Source
Upgrade notes
Behavior changes
Hasnow reports keys whose value isnil.Map.Hasused to returnfalseboth for missing keys and for keys set tonil, so the two couldn't be told apart. It now returnstruewhenever the selector exists, including nested keys, bracket keys and slice indexes that holdnil. If you relied onHasto mean "set and not nil", use!m.Get(selector).IsNil()instead. (#172)Other
What's Changed
New Contributors
Full Changelog: stretchr/objx@v0.6.0...v0.7.0
v0.6.0Compare Source
Upgrade notes
Go 1.25 or later is now required (previously Go 1.20). (#175)
Behavior changes
Where*now returns the items the decider selects. Previously everyWhere*method (WhereInt,WhereStr,WhereMSI,WhereObjxMap, …) returned the items for which the decider returnedfalse, the opposite of what its documentation says. If you negated your decider to work around this, remove the negation. (#180)Setupdates the element instead of replacing the slice.Set("names[0]", "Mat")used to replace the wholenamesslice with"Mat"; it now sets only the first element. Indexing into a value that isn't a slice (e.g.Get("name[0]")on a string) now returns a missing value instead of the value itself. (#170)nullin JSON.objx.Map{"items": []any(nil)}now encodes as{"items":null}instead of{"items":[]}. Empty, non-nil containers still encode as[]/{}. (#171)URLValueskeeps every element of a slice of maps. With the[]and""key suffixes, only the last element's values used to be kept.[]anyvalues (e.g. arrays decoded from JSON) are now encoded element by element instead of as a Go-syntax string. (#177)SetURLValuesSliceKeySuffixfor an invalid suffix now readsobjx: invalid URLValuesSliceKeySuffix provided. (#176)Other
anyinstead ofinterface{}. They are the same type, so this doesn't affect callers. (#175)go generate(#179), and CI runs golangci-lint (#176, #178).What's Changed
New Contributors
Full Changelog: stretchr/objx@v0.5.3...v0.6.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.